package com.my.behaviourtype.template;

public abstract class Template {
	protected void firstStep() {
		System.out.println("Template.firstStep()");
	}
	
	protected abstract void secondStep();
	
	protected void lastStep() {
		System.out.println("Template.lastStep()");
	}
	
	public void execute() {
		firstStep();
		secondStep();
		lastStep();
	}
}
